# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-sqlsoup
_pyname=sqlsoup
pkgver=0.9.1
pkgrel=0
pkgdesc="A one step databse access tool, built on the SQLAlchemy ORM"
url="https://bitbucket.org/zzzeek/sqlsoup"
arch="noarch"
license="MIT"
depends="py3-sqlalchemy"
makedepends="py3-setuptools"
checkdepends="py3-nose"
source="https://files.pythonhosted.org/packages/source/s/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="a6fee93bf7be24545c785ab995e345374ae947714c5233ede6aaf7a263e75f88987c8a875903891f35088eebdba789467ada3bcfc030cc77a65afc63aae069d7  sqlsoup-0.9.1.tar.gz"
